﻿@model IEnumerable<string>
@{
    var modelm = Model.GetEnumerator();
}
<table>
    <tbody>
        @while (modelm.MoveNext())
        {
            string[] parameterAndDisplay = modelm.Current.Split('&');
            <tr>
                <td class="reportPicture">
                    <ul>
                        <li>
                            <img data-parameter="@parameterAndDisplay[1]" alt="@parameterAndDisplay[1]"  class="report" width="@GlobalHelper.Width" height="@GlobalHelper.Height"/></li>
                        <li>
                            <label>
                                @parameterAndDisplay[1]</label></li>
                    </ul>
                </td>
                @if (!modelm.MoveNext())
                {
                    break;
                }
                else
                {
                    parameterAndDisplay = modelm.Current.Split('&');
                    <td class="reportPicture">
                    <ul>                        <li>
                            <img data-parameter="@parameterAndDisplay[1]" alt="@parameterAndDisplay[1]"  class="report" width="@GlobalHelper.Width" height="@GlobalHelper.Height    "/></li>
                        <li>
                            <label>
                                @parameterAndDisplay[1]</label></li>
                                </ul>

                    </td>
                }
            </tr>
        }
    </tbody>
</table>
